<% add_decidim_page_title(strip_tags(yield(:heading).lines.last).strip) if content_for?(:heading) %>
<% add_decidim_page_title("Decidim Design Guide") %>
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
  <head>
    <title><%= decidim_page_title %></title>
    <%= render partial: "layouts/decidim/design/head" %>
  </head>

  <body class="relative text-black text-md form-defaults">
    <!--noindex--><!--googleoff: all-->
    <%= link_to t("skip_button", scope: "decidim.accessibility"), "#content", class: "layout-container__skip" %>
    <!--googleon: all--><!--/noindex-->

    <%= render layout: "layouts/decidim/design/layout" do %>
      <%= yield %>
    <% end %>
  </body>
</html>
